# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=pdf-parser
pkgver=0.7.12
pkgrel=1
groups=('blackarch' 'blackarch-forensic')
pkgdesc='Parses a PDF document to identify the fundamental elements used in the analyzed file.'
arch=('any')
url='http://blog.didierstevens.com/programs/pdf-tools/'
license=('custom')
depends=('python')
source=("https://didierstevens.com/files/software/pdf-parser_V${pkgver//./_}.zip"
        'LICENSE')
sha512sums=('985b80ab89473ce658a52aef70f654dcf081906056bb6b94aa8fbd1f0ad19c59ed528e277751e597f8eb681de8d6883955f0df5b3a9e1f27994c381ebfdb183d'
            '81c04aad50b9a4a702b53cc9a155d5ae87dc35db114e0a11ae1249268adecefbe2f0581fa7147dddf5399ae36e21ff089d0c11037f239be806146bddf4023375')

package() {
  install -Dm 755 "$pkgname.py" "$pkgdir/usr/bin/$pkgname"
}

